package ws.very.util.mapdb.akka.wraper

import java.util.Comparator
import Fun._
case class Pump[K, V, K2, V2](
  source: Iterator[(K, V)],
  KeyExtractor: K ~> K2 = extractNoTransform(),
  valueExtractor: V ~> V2 = extractNoTransform(),
  presortBatchSize: O[I] = None, ignoreDuplicates: B = false)

case class BTreeMapMaker[K, V](
  name: S, nodeSize: I = 32, valuesOutsideNodes: B = false,
  counter: B = false, keySerializer: O[Serializer[K]] = None,
  keyComparator: O[Comparator[K]] = None,
  valueSerializer: O[Serializer[V]] = None)

object BTreeMap {
  trait Cmd
  case class Put[K, V](k: K, v: V) extends Cmd
  case class Get[K](k: K) extends Cmd
}  